<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-faqip" class="control-label col-xs-12 col-sm-2">{:__('Faqip')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-faqip" data-rule="required" class="form-control" name="row[faqip]" type="text" value="{$row.faqip}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-tuijianp" class="control-label col-xs-12 col-sm-2">{:__('Tuijianp')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tuijianp" data-rule="required" class="form-control" name="row[tuijianp]" type="text" value="{$row.tuijianp}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-beituijianp" class="control-label col-xs-12 col-sm-2">{:__('Beituijianp')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-beituijianp" data-rule="required" class="form-control" name="row[beituijianp]" type="text" value="{$row.beituijianp}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-content" class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-content" data-rule="required" class="form-control" name="row[content]" type="text" value="{$row.content}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-code" class="control-label col-xs-12 col-sm-2">{:__('Code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-code" data-rule="required" class="form-control" name="row[code]" type="number" value="{$row.code}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-company" class="control-label col-xs-12 col-sm-2">{:__('Company')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-company" data-rule="required" class="form-control" name="row[company]" type="text" value="{$row.company}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-images" class="control-label col-xs-12 col-sm-2">{:__('Images')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-images" data-rule="required" class="form-control" size="50" name="row[images]" type="text" value="{$row.images}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-images" class="btn btn-danger plupload" data-input-id="c-images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-images" class="btn btn-primary fachoose" data-input-id="c-images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-images"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-images"></ul>
        </div>
    </div>
    <div class="form-group">
        <label for="c-redpacket1" class="control-label col-xs-12 col-sm-2">{:__('Redpacket1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-redpacket1" data-rule="required" class="form-control" name="row[redpacket1]" type="number" value="{$row.redpacket1}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-redpacket2" class="control-label col-xs-12 col-sm-2">{:__('Redpacket2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-redpacket2" data-rule="required" class="form-control" name="row[redpacket2]" type="number" value="{$row.redpacket2}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-redpacket3" class="control-label col-xs-12 col-sm-2">{:__('Redpacket3')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-redpacket3" data-rule="required" class="form-control" name="row[redpacket3]" type="number" value="{$row.redpacket3}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-redpacket4" class="control-label col-xs-12 col-sm-2">{:__('Redpacket4')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-redpacket4" data-rule="required" class="form-control" name="row[redpacket4]" type="number" value="{$row.redpacket4}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-verif" class="control-label col-xs-12 col-sm-2">{:__('Verif')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-verif" data-rule="required" class="form-control selectpicker" name="row[verif]">
                {foreach name="verifList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.verif"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label for="c-area" class="control-label col-xs-12 col-sm-2">{:__('Area')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-area" data-rule="required" class="form-control selectpicker" name="row[area]">
                {foreach name="areaList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.area"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label for="c-qrcode_1" class="control-label col-xs-12 col-sm-2">{:__('Qrcode_1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-qrcode_1" data-rule="required" class="form-control" name="row[qrcode_1]" type="text" value="{$row.qrcode_1}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-qrcode_2" class="control-label col-xs-12 col-sm-2">{:__('Qrcode_2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-qrcode_2" data-rule="required" class="form-control" name="row[qrcode_2]" type="text" value="{$row.qrcode_2}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-order_no" class="control-label col-xs-12 col-sm-2">{:__('Order_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_no" data-rule="required" class="form-control" name="row[order_no]" type="text" value="{$row.order_no}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-trans_id" class="control-label col-xs-12 col-sm-2">{:__('Trans_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-trans_id" data-rule="required" data-source="trans/index" class="form-control selectpage" name="row[trans_id]" type="text" value="{$row.trans_id}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
